package com.oalam.bookstore.dao;

/**
 * This class implements the operations to create concrete product objects.
 * @version 1.0
 * @created 03-ao�t-2011 16:46:10
 */
public class FileDaoFactory implements DaoFactory {

    private final String dbSerialisationPath = "db/accountsTest/";
    private final String dbXmlPath = "db/bookstore.xml";

    @Override
    public AccountDao createAccountDao() {
        return new FileAccountDao(dbSerialisationPath);
    }

    @Override
    public BookDao createBookDao() {
        return new FileBookDao(dbXmlPath);
    }
}